package appapi.service.impl;

import appapi.dao.MonthdetailMapper;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

import appapi.entity.record.MonthdetailEntity;
import appapi.service.MonthdetailService;
/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/06/01 12:29
 */
@Service
public class MonthdetailServiceImpl implements MonthdetailService{

    @Resource
    private MonthdetailMapper monthdetailMapper;

    @Override
    public int deleteByPrimaryKey(Long monthRecId) {
        return monthdetailMapper.deleteByPrimaryKey(monthRecId);
    }

    @Override
    public int insert(MonthdetailEntity record) {
        return monthdetailMapper.insert(record);
    }

    @Override
    public int insertSelective(MonthdetailEntity record) {
        return monthdetailMapper.insertSelective(record);
    }

    @Override
    public MonthdetailEntity selectByPrimaryKey(Long monthRecId) {
        return monthdetailMapper.selectByPrimaryKey(monthRecId);
    }

    @Override
    public int updateByPrimaryKeySelective(MonthdetailEntity record) {
        return monthdetailMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(MonthdetailEntity record) {
        return monthdetailMapper.updateByPrimaryKey(record);
    }

}
